﻿
function XHR(name, params, callback) {
    jQuery.ajax({
        url: window.location,
        data: 'XHR=true&x=' + name + '&p=' + params,
        success: function (data) { if(callback!=undefined) callback(data); }
    });

}
